package com.schoolai.auth.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

/**
 * 类 {@code PasswordEncoderConfig}  <br> .
 * <p>详细描述
 *
 * @author <a href="mailto:"></a>
 * @version v1.0.0
 * 创建时间：2025/8/1 11:27
 */
@Configuration
public class PasswordEncoderConfig {
   @Bean
    public PasswordEncoder passwordEncoder() {
        return new BCryptPasswordEncoder();
    }
}
